package com.dfrobot.demo.domain.entity;

import java.util.Date;
import javax.persistence.*;
import lombok.Data;

@Data
@Table(name = "currency")
public class Currency {
    @Id
    @Column(name = "currency_id")
    private Integer currencyId;

    private String title;

    private String code;

    @Column(name = "symbol_left")
    private String symbolLeft;

    @Column(name = "symbol_right")
    private String symbolRight;

    @Column(name = "decimal_place")
    private String decimalPlace;

    private Double value;

    private Boolean status;

    @Column(name = "date_modified")
    private Date dateModified;
}